<?xml version="1.0" encoding="utf-8" ?>
<xs:schema targetNamespace="" elementFormDefault="qualified"
	xmlns="" xmlns:mstns="http://tempuri.org/XMLSchema.xsd"
	xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="lfm">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="weeklychartlist" type="weeklychartlist" minOccurs="0" maxOccurs="unbounded"/>
                <xs:element name="weeklytrackchart" type="weeklytrackchart" minOccurs="0" maxOccurs="unbounded"/>
                <xs:element name="error" minOccurs="0" maxOccurs="1">
                    <xs:complexType>
                        <xs:simpleContent>
                            <xs:extension base="xs:string">
                                <xs:attribute name="code" type="xs:int"/>
                            </xs:extension>
                        </xs:simpleContent>
                    </xs:complexType>
                </xs:element>
            </xs:sequence>
            <xs:attribute name="status" type="xs:string"/>
        </xs:complexType>
    </xs:element>
    <xs:complexType name="weeklychartlist">
        <xs:sequence>
            <xs:element name="chart" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                    <xs:attribute name="from" type="xs:long"/>
                    <xs:attribute name="to" type="xs:long"/>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="user" type="xs:string"/>
        <xs:attribute name="group" type="xs:string"/>
        <xs:attribute name="updated" type="xs:long"/>
    </xs:complexType>
    <xs:complexType name="weeklytrackchart">
        <xs:sequence>
            <xs:element name="track" type="track" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attribute name="user" type="xs:string"/>
        <xs:attribute name="group" type="xs:string"/>
        <xs:attribute name="from" type="xs:long"/>
        <xs:attribute name="to" type="xs:long"/>
    </xs:complexType>
    <xs:complexType name="track">
        <xs:sequence>
            <xs:element name="artist">
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="xs:string">
                            <xs:attribute name="mbid" type="xs:string"/>
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element name="name" type="xs:string"/>
            <xs:element name="mbid" type="xs:string"/>
            <xs:element name="playcount" type="xs:int"/>
            <xs:element name="url" type="xs:string"/>
        </xs:sequence>
        <xs:attribute name="rank"/>
    </xs:complexType>
    <xs:complexType name="weeklyartistchart">
        <xs:sequence>
            <xs:element name="artist" type="artist" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attribute name="user" type="xs:string"/>
        <xs:attribute name="group" type="xs:string"/>
        <xs:attribute name="from" type="xs:long"/>
        <xs:attribute name="to" type="xs:long"/>
    </xs:complexType>
    <xs:complexType name="artist">
        <xs:sequence>
            <xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
            <xs:element name="mbid" type="xs:string" minOccurs="0" maxOccurs="1"/>
            <xs:element name="chartposition" type="xs:int" minOccurs="0" maxOccurs="1"/>
            <xs:element name="playcount" type="xs:int" minOccurs="0" maxOccurs="1"/>
            <xs:element name="reach" type="xs:int" minOccurs="0" maxOccurs="1"/>
            <xs:element name="url" type="xs:string" minOccurs="0" maxOccurs="1"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="similarartists">
        <xs:sequence>
            <xs:element name="artist" type="similarartist" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="similarartist">
        <xs:sequence>
            <xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1"/>
            <xs:element name="match" type="xs:float" minOccurs="0" maxOccurs="1"/>
        </xs:sequence>
    </xs:complexType>
</xs:schema>